package info.itest.www.pages;

import org.openqa.selenium.WebDriver;

public class BasePage {

	protected  final WebDriver dr;
	protected String url;
	
	public  BasePage(WebDriver dr){
		this.dr = dr;
	}
	
	public void goTo(){ 
		this.dr.get(this.url);
	}
	
	public String currentUrl(){
		return this.dr.getCurrentUrl();
	}
}
